package com.example.csmall.product.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class AlbumUpdateDTO implements Serializable {

    @ApiModelProperty(value = "相册名称")
    @NotNull(message = "您输入的相册名称不可以为空!")
    private String name;

    @ApiModelProperty("相册简介")
    @NotNull(message = "您输入的相册简介不可以为空!")
    private String description;

    @ApiModelProperty(value = "排序序号")
    @NotNull(message = "您输入的相册排序序号不可以为空!")
    private Integer sort;

}
